package org.fhm.zdte.client.ability;

import java.util.concurrent.ScheduledFuture;

/**
 * The interface <b>IAddConnectTask</b>'s implementation is used to add a connect task.
 *
 * @author 谭波
 * @since 2024/4/7
 */
public interface IAddConnectTask {

    /**
     * Add a connect task.
     *
     * @param target            The identification of target.
     * @param connectTaskFuture Connect task handles.
     */
    void addConnectTask(String target, ScheduledFuture<?> connectTaskFuture);

}
